<template>
  <div class="audit-item">
    <div
      class="audit-item__label"
      v-html="label"
    ></div>
    <div class="audit-item__value">
      <slot></slot>
    </div>
  </div>
</template>

<script>
export default {
  name: "AuditItem",
  props: ["label"]
};
</script>

<style lang="scss" scoped>
.audit-item {
  line-height: 20px;
  font-size: 13px;
  overflow: hidden;
  &__label {
    float: left;
  }
  &__value {
    padding: 0 8px;
  }
}
</style>